package com.baiyun.bs.service;

import com.baiyun.bs.domain.Course;
import com.baiyun.bs.domain.Subject;
import com.baiyun.bs.viewmodel.admin.course.CoursePageRequestVM;
import com.baiyun.bs.viewmodel.admin.education.SubjectPageRequestVM;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface CourseService {

    List<Course> getAllCourses(Course course);
    Course getCourseById(Long courseId);
    void addCourse(Course course);
    void updateCourse(Course course);

    void deleteCourse(Long courseId);


//    PageInfo<Subject> page(SubjectPageRequestVM requestVM);
//    PageInfo<Course> page(CoursePageRequestVM requestVM);
}

